package com.li.o2oSystem.util;

import java.util.regex.Pattern;

public class ChangeUtil {
	//判断是否为整数
	public static boolean isInteger(String str) {  
		Pattern pattern = Pattern.compile("^[-\\+]?[\\d]*$");  
		return pattern.matcher(str).matches();  
	}
}
